#ifndef ACTOROILBARREL_H
#define ACTOROILBARREL_H

#pragma once

#include "Actor.h"
#include "SpriteOilbarrel.h"
#include "State.h"
#include "CollisionDetection.h"

class ActorOilbarrel:public Actor{
private:
	SpriteOilbarrel* grafic;
	State* states[4];
	int actualstate;
	int updowndelay;
	bool playerlost;
public:
	ActorOilbarrel(CL_GraphicContext gc);
	void processoilbarrel();
	void processflame();
	bool hasplayerlost();
	void reset();
	~ActorOilbarrel();
};

#endif